package cn.village.entity;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/***
*   
*/

@Component
public class LeaseContract implements Serializable {
    //
    private Integer id;
    //合同编号
    private Integer contractNO;
    //合同摘要
    private String contractInfo;
    //签定日期
    private Date sigDate;
    //存档日期
    private Date keepDate;
    //合同经办人
    private String contractors;
    //合同名称
    private String contractName;
    //租凭开始日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date leaseStartDate;
    //租凭结束日期
    private Date leaseEndDate;
    //租凭用途
    private String rentalPurpose;
    //租金
    private BigDecimal rental;
    //付款方式（季付/半年付/年付）
    private Integer paymentTerm;
    //租金交付情况（正常/欠费/预交）
    private Integer paymentStatus;
    //合同状态
    private Integer contractStatus;
    //备注
    private String remark;
    //创建日期
    private Date creationDate;
    //修改日期
    private Date modifyDate;
    //修改人
    private String modifyBy;
    //get set 方法
    public void setId (Integer  id){
        this.id=id;
    }
    public  Integer getId(){
        return this.id;
    }
    public void setContractNO (Integer  contractNO){
        this.contractNO=contractNO;
    }
    public  Integer getContractNO(){
        return this.contractNO;
    }
    public void setContractInfo (String  contractInfo){
        this.contractInfo=contractInfo;
    }
    public  String getContractInfo(){
        return this.contractInfo;
    }
    public void setSigDate (Date  sigDate){
        this.sigDate=sigDate;
    }
    public  Date getSigDate(){
        return this.sigDate;
    }
    public void setKeepDate (Date  keepDate){
        this.keepDate=keepDate;
    }
    public  Date getKeepDate(){
        return this.keepDate;
    }
    public void setContractors (String  contractors){
        this.contractors=contractors;
    }
    public  String getContractors(){
        return this.contractors;
    }
    public void setContractName (String  contractName){
        this.contractName=contractName;
    }
    public  String getContractName(){
        return this.contractName;
    }
    public void setLeaseStartDate (Date  leaseStartDate){
        this.leaseStartDate=leaseStartDate;
    }
    public  Date getLeaseStartDate(){
        return this.leaseStartDate;
    }
    public void setLeaseEndDate (Date  leaseEndDate){
        this.leaseEndDate=leaseEndDate;
    }
    public  Date getLeaseEndDate(){
        return this.leaseEndDate;
    }
    public void setRentalPurpose (String  rentalPurpose){
        this.rentalPurpose=rentalPurpose;
    }
    public  String getRentalPurpose(){
        return this.rentalPurpose;
    }
    public void setRental (BigDecimal  rental){
        this.rental=rental;
    }
    public  BigDecimal getRental(){
        return this.rental;
    }
    public void setPaymentTerm (Integer  paymentTerm){
        this.paymentTerm=paymentTerm;
    }
    public  Integer getPaymentTerm(){
        return this.paymentTerm;
    }
    public void setPaymentStatus (Integer  paymentStatus){
        this.paymentStatus=paymentStatus;
    }
    public  Integer getPaymentStatus(){
        return this.paymentStatus;
    }
    public void setContractStatus (Integer  contractStatus){
        this.contractStatus=contractStatus;
    }
    public  Integer getContractStatus(){
        return this.contractStatus;
    }
    public void setRemark (String  remark){
        this.remark=remark;
    }
    public  String getRemark(){
        return this.remark;
    }
    public void setCreationDate (Date  creationDate){
        this.creationDate=creationDate;
    }
    public  Date getCreationDate(){
        return this.creationDate;
    }
    public void setModifyDate (Date  modifyDate){
        this.modifyDate=modifyDate;
    }
    public  Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyBy (String  modifyBy){
        this.modifyBy=modifyBy;
    }
    public  String getModifyBy(){
        return this.modifyBy;
    }
}
